<%@page import="member.MemberVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>delete.jsp</title>
<script>
function getId(id){return document.getElementById(id);}
function init(){
	
	getId('btnList').onclick=function(){
		location.href='index2.jsp?inc_content=./jsp/list.jsp';	
		}
	
	getId('btnDelete').onclick=function(){
		frm.action='index2.jsp?inc_content=./jsp/delete_result.jsp';
		frm.submit();
		
		}
	
	}
</script>	
	

</head>
<body>
	<jsp:useBean id="bean" class="member.Login" scope="page" />
	<jsp:setProperty property="*" name="bean" />


	<h1>회원정보 삭제(탈퇴)</h1>
	<form name='frm' method='post' action=''>
		<label>아이디:</label> <input type="text" name='mid' value="<%=bean.getMid()%>"><br /> 
		<label>암호</label> <input type="password" name='pwd' >
		<p />
	</form>
	
	<input type="button" id= 'btnList' value='목록' >
	<input type="button" id='btnDelete' value="삭제">
	<p />
	
	<script>
	init();
	</script>
</body>
</html>